package com.hup.joystick.service.jna;

import com.sun.jna.Callback;

public interface DeviceStateCallback extends Callback {
    /**
     * @param hr 监听过程中遇到的异常,如设备丢失;没有异常时为S_OK
     */
    void onDeviceState(DIJoyState2 state, int hr);
}
